import java.util.Scanner;

class Solution {
    public String toLowerCase(String s){
        char[] ch = s.toCharArray();
        for (int i = 0; i < ch.length; i++) {
            System.out.println(ch[i] - 'a');
        }
        return s;
    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        String s1 = toLowerCase(s);
    }
}

